package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆预约信息对象 tb_visitor_vehicle
 * 
 * @author ruoyi
 * @date 2024-04-10
 */
public class TbVisitorVehicle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** openID */
    @Excel(name = "openID")
    private String openId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String userName;

    /** 来访单位 */
    @Excel(name = "来访单位")
    private String companyFrom;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String card;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phone;

    /** 来访原由 */
    @Excel(name = "来访原由")
    private String visitReason;

    /** 到访单位 */
    @Excel(name = "到访单位")
    private String companyTo;

    /** 到访单位 */
    @Excel(name = "到访基地")
    private String visitingBase;

    /** 受访员工编号 */
    @Excel(name = "受访员工编号")
    private String interviewedNo;

    /** 受访员工姓名 */
    @Excel(name = "受访员工姓名")
    private String interviewedName;

    /** 进入门岗 */
    @Excel(name = "进入门岗")
    private String communicationRoom;

    /** 车辆类型（1货车 2危险品 3客户车） */
    @Excel(name = "车辆类型", readConverterExp = "1=货车,2=危险品,3=客户车")
    private String vehicleType;

    /** 是否过磅（0不过磅 1过磅） */
    @Excel(name = "是否过磅", readConverterExp = "0=不过磅,1=过磅")
    private String ifWeighing;

    /** 过磅物资 */
    @Excel(name = "过磅物资")
    private String weighingItems;

    /** 是否有随行人员（0否 1是） */
    @Excel(name = "是否有随行人员", readConverterExp = "0=否,1=是")
    private String ifFollower;

    /** 是否有携带物品（0无 1有） */
    @Excel(name = "是否有携带物品", readConverterExp = "0=否,1=是")
    private String ifGoods;

    /** 进入时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH")
    @Excel(name = "进入时间", width = 30, dateFormat = "yyyy-MM-dd HH")
    private Date inTime;

    /** 离开时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH")
    @Excel(name = "离开时间", width = 30, dateFormat = "yyyy-MM-dd HH")
    private Date outTime;

    /** 行驶证 */
    @Excel(name = "行驶证")
    private String drivingLicense;
    /** 驾驶证 */
    @Excel(name = "驾驶证")
    private String driverLicense;

    /** 客户大分类 */
    @Excel(name = "客户大分类")
    private String customersType;

    /** 客户小分类 */
    @Excel(name = "客户小分类")
    private String visitorType;
    //商品类别
    private String goodsSpec;
    //运输单位
    private String unitTrans;

    /** 车辆状态（0默认 1预约 2审核通过 3审核未通过 4车辆入场 5车辆出场） */
    @Excel(name = "车辆状态", readConverterExp = "0=默认,1=预约,2=审核通过,3=审核未通过,4=车辆入场,5=车辆出场")
    private String status;

    /** 审核信息 */
    @Excel(name = "审核信息")
    private String reviewInfo;

    /** 流程ID */
    @Excel(name = "流程ID")
    private String followId;

    /** 保险 */
    @Excel(name = "保险")
    private String insurance;

    /** 劳动合同 */
    @Excel(name = "劳动合同")
    private String laborContract;

    /** 特殊作业证 */
    @Excel(name = "特殊作业证")
    private String specialOperations;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    @Excel(name = "审核时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date checkTime;

    public Date getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(Date checkTime) {
        this.checkTime = checkTime;
    }
    public String getGoodsSpec() {
        return goodsSpec;
    }

    public void setGoodsSpec(String goodsSpec) {
        this.goodsSpec = goodsSpec;
    }

    public String getUnitTrans() {
        return unitTrans;
    }

    public void setUnitTrans(String unitTrans) {
        this.unitTrans = unitTrans;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOpenId(String openId) 
    {
        this.openId = openId;
    }

    public String getOpenId() 
    {
        return openId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setCompanyFrom(String companyFrom) 
    {
        this.companyFrom = companyFrom;
    }

    public String getCompanyFrom() 
    {
        return companyFrom;
    }
    public void setCard(String card) 
    {
        this.card = card;
    }

    public String getCard() 
    {
        return card;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setVisitReason(String visitReason) 
    {
        this.visitReason = visitReason;
    }

    public String getVisitReason() 
    {
        return visitReason;
    }
    public void setCompanyTo(String companyTo) 
    {
        this.companyTo = companyTo;
    }

    public String getCompanyTo() 
    {
        return companyTo;
    }
    public void setInterviewedNo(String interviewedNo) 
    {
        this.interviewedNo = interviewedNo;
    }

    public String getInterviewedNo() 
    {
        return interviewedNo;
    }
    public void setInterviewedName(String interviewedName) 
    {
        this.interviewedName = interviewedName;
    }

    public String getInterviewedName() 
    {
        return interviewedName;
    }
    public void setCommunicationRoom(String communicationRoom) 
    {
        this.communicationRoom = communicationRoom;
    }

    public String getCommunicationRoom() 
    {
        return communicationRoom;
    }
    public void setVehicleType(String vehicleType) 
    {
        this.vehicleType = vehicleType;
    }

    public String getVehicleType() 
    {
        return vehicleType;
    }
    public void setIfWeighing(String ifWeighing) 
    {
        this.ifWeighing = ifWeighing;
    }

    public String getIfWeighing() 
    {
        return ifWeighing;
    }
    public void setWeighingItems(String weighingItems) 
    {
        this.weighingItems = weighingItems;
    }

    public String getWeighingItems() 
    {
        return weighingItems;
    }
    public void setIfFollower(String ifFollower) 
    {
        this.ifFollower = ifFollower;
    }

    public String getIfFollower() 
    {
        return ifFollower;
    }
    public void setInTime(Date inTime) 
    {
        this.inTime = inTime;
    }

    public Date getInTime() 
    {
        return inTime;
    }
    public void setOutTime(Date outTime) 
    {
        this.outTime = outTime;
    }

    public Date getOutTime() 
    {
        return outTime;
    }

    public String getDrivingLicense() {
        return drivingLicense;
    }

    public void setDrivingLicense(String drivingLicense) {
        this.drivingLicense = drivingLicense;
    }

    public String getDriverLicense() {
        return driverLicense;
    }

    public void setDriverLicense(String driverLicense) {
        this.driverLicense = driverLicense;
    }

    public String getCustomersType() {
        return customersType;
    }

    public void setCustomersType(String customersType) {
        this.customersType = customersType;
    }

    public String getVisitorType() {
        return visitorType;
    }

    public void setVisitorType(String visitorType) {
        this.visitorType = visitorType;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getReviewInfo() {
        return reviewInfo;
    }

    public void setReviewInfo(String reviewInfo) {
        this.reviewInfo = reviewInfo;
    }

    public String getVisitingBase() {
        return visitingBase;
    }

    public void setVisitingBase(String visitingBase) {
        this.visitingBase = visitingBase;
    }

    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getInsurance() {
        return insurance;
    }

    public void setInsurance(String insurance) {
        this.insurance = insurance;
    }

    public String getLaborContract() {
        return laborContract;
    }

    public void setLaborContract(String laborContract) {
        this.laborContract = laborContract;
    }

    public String getSpecialOperations() {
        return specialOperations;
    }

    public void setSpecialOperations(String specialOperations) {
        this.specialOperations = specialOperations;
    }

    public String getIfGoods() {
        return ifGoods;
    }

    public void setIfGoods(String ifGoods) {
        this.ifGoods = ifGoods;
    }

    public String getFollowId() {
        return followId;
    }

    public void setFollowId(String followId) {
        this.followId = followId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("openId", getOpenId())
            .append("userName", getUserName())
            .append("companyFrom", getCompanyFrom())
            .append("card", getCard())
            .append("phone", getPhone())
            .append("visitReason", getVisitReason())
            .append("companyTo", getCompanyTo())
            .append("visitingBase", getVisitingBase())
            .append("interviewedNo", getInterviewedNo())
            .append("interviewedName", getInterviewedName())
            .append("communicationRoom", getCommunicationRoom())
            .append("vehicleType", getVehicleType())
            .append("ifWeighing", getIfWeighing())
            .append("weighingItems", getWeighingItems())
            .append("ifFollower", getIfFollower())
                .append("ifGoods", getIfGoods())
            .append("inTime", getInTime())
            .append("outTime", getOutTime())
            .append("drivingLicense", getDrivingLicense())
            .append("driverLicense", getDriverLicense())
            .append("customersType", getCustomersType())
            .append("visitorType", getVisitorType())
            .append("status", getStatus())
                .append("followId", getFollowId())
            .append("reviewInfo", getReviewInfo())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("insurance", getInsurance())
            .append("laborContract", getLaborContract())
            .append("specialOperations", getSpecialOperations())
            .toString();
    }
}
